package com.phoenix.zhihu.mapper;

import com.phoenix.zhihu.entity.Collectionanswer;
import com.phoenix.zhihu.entity.CollectionanswerExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CollectionanswerMapper {
    int countByExample(CollectionanswerExample example);

    int deleteByExample(CollectionanswerExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Collectionanswer record);

    int insertSelective(Collectionanswer record);

    List<Collectionanswer> selectByExample(CollectionanswerExample example);

    Collectionanswer selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Collectionanswer record, @Param("example") CollectionanswerExample example);

    int updateByExample(@Param("record") Collectionanswer record, @Param("example") CollectionanswerExample example);

    int updateByPrimaryKeySelective(Collectionanswer record);

    int updateByPrimaryKey(Collectionanswer record);

    List<Collectionanswer> getCollectionListByUserId(int userid);
}